package com.bishe.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 角色权限中间表(RolePermission)表实体类
 *
 * @author makejava
 * @since 2024-03-04 14:00:14
 */
@Data
@ApiModel("角色权限")
@TableName("role_permission")
@EqualsAndHashCode(callSuper = false)
public class RolePermission extends Model<RolePermission> {
    //id号
    private Long id;
    //角色ID
    private Long roleId;
    //菜单项ID
    private String permissionCode;
    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

}

